package backstage.app.respont;

import java.io.Serializable;

import lombok.Data;

@Data
public class MyCountNumber implements Serializable {/**
	 * 
	 */
	private static final long serialVersionUID = -8835263045724182295L;
	
	private double sum;//总数
	
	private double avg;//平均值
	
	private String msg;
	public MyCountNumber(double sum, double avg,String msg) {
		this.sum = sum;
		this.avg = avg;
		this.msg=msg;
	}
	
	public static final  MyCountNumber ok(double sum, double avg,String msg) {
		
		return new MyCountNumber(sum, avg,msg);
	}
	
}
